<?php


/**
* Puree CMS
* http://www.molotsoft.ru
*
* @package Puree_CMS
* @subpackage Models
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: worker.php 1060 2010-03-23 19:46:51Z molotsoft@gmail.com $
* @link $HeadURL: http://puree-cms.googlecode.com/svn/trunk/models/worker.php $
*/


class Worker extends GeneralModel {

/******************************************************************************/

var $name = 'Worker';

var $displayImage = 'photo';
var $displayField = 'caption';

var $order = array(
	'Worker.position' => 'ASC',
	'Worker.id' => 'ASC'
);

var $actsAs = array(
	'Admin.Automate',
	'Containable'
);

var $fieldInputSchema = array(
	'quote' => array('type' => 'wysiwyg'),
	'biography' => array('type' => 'wysiwyg'),
	'photo' => array('params' => 'resize=crop&x=200&y=300')
);

/******************************************************************************/

}


?>